package com.jinhongone.pattern.behavior.state.before;

/**
 * @author jinho
 * @className ILift
 * @description 电梯接口
 * @date 2025/4/16 14:08
 */
public interface ILift {

    //开门状态
    int OPENING_STATE = 1;
    //关门状态
    int CLOSING_STATE = 2;
    //运行状态
    int RUNNING_STATE = 3;
    //停止状态
    int STOPPING_STATE = 4;

    void setState(int state);

    void open();

    void close();

    void run();

    void stop();
}
